export default {
  lazy: true,
  tip: false,
  simplePage: true,
  searchShow: false,
  dialogWidth: '60%',
  tree: true,
  border: true,
  index: true,
  selection: false,
  viewBtn: true,
  menuWidth: 400,
  dialogClickModal: false,
  refreshBtn: false,
  columnBtn: false,
  stripe: true,
  align: 'center',
  excelBtn: false,
  editBtn: false,
  delBtn: false,
  menu: false,
  header: false,
  column: [
    {
      label: '名称',
      prop: 'name',
      type: 'input',
      rules: [
        {
          required: true,
          message: '请输入名称',
          trigger: 'blur',
        },
      ],
      span: 24,
    },
    {
      label: '备注',
      prop: 'note',
      type: 'textarea',
      span: 24,
    },

    {
      label: '是否发布',
      prop: 'status',
      type: 'radio',
      dicData: [
        {
          label: '否',
          value: 0,
        },
        {
          label: '是',
          value: 1,
        },
      ],
      addDisplay: false,
      editDisplay: false,
      viewDisplay: false,
    },
    {
      label: '是否用于岗位管理',
      prop: 'code',
      type: 'radio',
      dicData: [
        {
          label: '否',
          value: '0',
        },
        {
          label: '是',
          value: '1',
        },
      ],
      span: 24,
    },
  ],
};
